﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Homework_2
{
    //抽象类
    abstract class Shape:GetArea
    {
        public string type;
        public bool islegal = true;

        public abstract double getArea();
        //展示各个对象的面积等属性
        public abstract string showInfo();
    }
}
